import request from '@/utils/request'

const api = {
  Class: '/eplusProductClassifyWeb/getClassifyByPid',
  Region:'/area/getAllRegion'
}

export default api

export function getClass (parameter) {
  return request({
    url: api.Class,
    method: 'get',
    params: parameter
  })
}

export function getAllRegion (parameter) {
  return request({
    url: api.Region,
    method: 'get',
    params: parameter
  })
}

